package goodenglish.interfaces.javafxex;

import javafx.scene.control.Label;
import javafx.scene.layout.VBox;

public class MyPane extends VBox {
	protected Label label;
	protected int labelHeight = 30;

	public MyPane(String title) {
		label = new Label(title);
		this.setMaxHeight(labelHeight);
		this.setMinHeight(labelHeight);
		this.getChildren().add(label);
	}
}
